# -*- coding: utf-8 -*-
# @Time:2021/08/17 22:35
# @Author:Cindy
import pytest

from calculator import Calculator


@pytest.fixture()
def init_cal():
    """
    初始化计算器
    :return:
    """
    print("set up")
    cal = Calculator()
    yield cal
    print("tear down")
